﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace LevelEditor.Pattern
{
    class PatternManager
    {

        private List<Pattern> ptrnList = new List<Pattern>();
        private Pattern ptrnTest;
        private static PatternManager instance = new PatternManager();
        /// <summary>
        /// 
        /// </summary>
        private PatternManager()
        {

        }

        /// <summary>
        /// 
        /// </summary>
        public void LoadImage()
        {

        }

        public static PatternManager Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new PatternManager();
                }
                return instance;
            }
        }

        /// <summary>
        /// Save pattern to disk
        /// By default, we use C:/Pattern
        /// </summary>
        private void savePattern()
        {
            string imgSavePath = "C:\\Pattern";
            //imgSavePath += ptrnTest.

            // Overwrite config file

            // Save image


        }

        

    }
}
